<template>
  <el-image
    :style="{width: width, height: height}"
    :src="url"
    :preview-src-list="[url]">
  </el-image>
</template>

<script>
export default {
  name: 'elImageVue',
  props: {
    width: {
      type: String,
      default: '100px',
    },
    height: {
      type: String,
      default: '100px',
    },
    url: {
      type: String,
      default: '',
    },
  },
};
</script>

<style scoped>

</style>
